import request from './request'
import { useUserStore } from "../store/modules/user"
// 新增或修改角色权限
export function addressRecognition(data: any) {
    let token = {
        [useUserStore().row.tokenName]: useUserStore().token
    }
    return request({
        url: '/map/addressRecognition',
        method: 'post',
        data,
        headers: token
    })
}